From: Paul Eggert Date: Sat, 19 Apr 2014 22:19:54 +0000 (-0700) Subject: * configure.ac: Add comment explaining why HAVE_GLIB is different. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~3423^2~1756 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=04d84d16f07e4008964dd932b7e704e95b923d57;p=emacs.git * configure.ac: Add comment explaining why HAVE_GLIB is different. --- diff --git a/configure.ac b/configure.ac index 9096681d78c..8250d89b669 100644 --- a/configure.ac +++ b/configure.ac @@ -3806,6 +3806,13 @@ AC_FUNC_FORK AC_CHECK_FUNCS(snprintf) +dnl Check for glib. This differs from other library checks in that +dnl Emacs need not link to glib unless some other library is already +dnl linking to glib. Although glib provides no facilities that Emacs +dnl needs for its own purposes, when glib is present Emacs needs to +dnl use primitives like g_main_context_query to avoid clashing with +dnl glib at a low level. +dnl dnl Check this late, since it depends on $GTK_CFLAGS etc. XGSELOBJ= OLDCFLAGS="$CFLAGS"